package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaCarInsurance;
import com.dkm.orproject.dkmoa.domain.OaPersonnel;

import java.util.List;

/**
 * @ClassName : OaCarInsuranceService  //类名
 * @Description : 车辆违章服务接口  //描述
 * @Author : 易嵘  //作者
 * @Date: 2021-02-26 10:28  //时间
 */
public interface OaCarInsuranceService {
    List<OaCarInsurance> findAll(String carInsuranceName, String startTime, String endTime, Integer page, Integer limit);

    Long rowCount(String carInsuranceName, String startTime, String endTime);

    OaCarInsurance findById(Long id);

    int delete(Long id);

    int deleteAll(List<Long> list);

    List<OaCarInsurance> selectAll(List<Long> list);

    int add(OaPersonnel personnel, OaCarInsurance car);

    int update(OaPersonnel personnel, OaCarInsurance car);
}
